package cn.bonoon.kernel.web.annotations.grid;

import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

import java.lang.annotation.Retention;
import java.lang.annotation.Target;

@Target(TYPE)
@Retention(RUNTIME)
public @interface GroupView {
	String groupField();
	/**
	 * <pre>
	 * 来自帮助文档的说明：
	 * groupFormatter	function(value,rows)	The formatter function to return the group content. The value parameter indicate the group value defined by 'groupField' property. The rows parameter indicate the data rows according to the specified group value.
	 * </pre>
	 * @return
	 */
	String groupFormatter() default "";
}
